//
//  KSDBaseViewController.h
//  KSuodun
//
//  Created by DwZeng on 2022/7/18.
//

#import <UIKit/UIKit.h>
#import "KSDBarButtonItem.h"

NS_ASSUME_NONNULL_BEGIN

@interface KSDBaseViewController : UIViewController
@property (nonatomic, strong) UIView *navigationView; //自定义导航栏
@property (nonatomic, strong) UIControl *navigationTitleView; //标题视图
@property (nonatomic, copy) NSString *navigationTitle; //标题文字
@property (nonatomic, strong) UIColor *navigationBackgroundColor; //导航栏背景色
@property (nonatomic, strong) UIButton *navigationLeftButton; //导航栏左侧按钮
@property (nonatomic, strong) UIButton *navigationRightButton; //导航栏右侧按钮
@property (nonatomic, copy) NSArray<UIButton *> *navigationLeftButtons; //导航栏左侧按钮集合（最多两个）
@property (nonatomic, copy) NSArray<UIButton *> *navigationRightButtons; //导航栏右侧按钮集合（最多两个）
@property (nonatomic, assign) CGFloat navigationAlpha; //导航栏背景透明度
//参数
@property(nonatomic , strong) NSDictionary * param;
/** 底部横线 */
@property (strong ,nonatomic) UIImageView *line;

/**
 没有数据点击时候请求接口的回调
 */
- (void)refreshData;

/**
 左边按钮的点击事件
 */
- (void)leftItemClick;
@end

NS_ASSUME_NONNULL_END
